package com.dongdongshop.util;

import java.io.Serializable;
import java.util.List;

public class PageResult implements Serializable {

    private Integer pagenum;
    private Integer pagesize;
    private List rows;
    private Long total;

    public PageResult() {
    }

    public PageResult(Integer pagenum, Integer pagesize, List rows, Long total) {
        this.pagenum = pagenum;
        this.pagesize = pagesize;
        this.rows = rows;
        this.total = total;
    }

    public Integer getPagenum() {
        return pagenum;
    }

    public void setPagenum(Integer pagenum) {
        this.pagenum = pagenum;
    }

    public Integer getPagesize() {
        return pagesize;
    }

    public void setPagesize(Integer pagesize) {
        this.pagesize = pagesize;
    }

    public List getRows() {
        return rows;
    }

    public void setRows(List rows) {
        this.rows = rows;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }
}
